<?php


namespace App\Http\Requests\Admin\Business;


use App\Http\Requests\BaseFormRequest;

class ChangeAgentFormRequest extends BaseFormRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        $id = $this->get('id', 0);
        return [
            'email' => ['required', 'email']
        ];
    }

    public function attributes()
    {
        return [
            'email' => '邮箱地址',
        ];
    }
}